package com.hq.dao;

import com.hq.bean.House;
import com.hq.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HouDao {
    List list(@Param("hname") String hname, @Param("haddress") String haddress);

    List findallowner();

    int addhouse(House house);

    void addho(@Param("oid") String s, @Param("hid") Integer hid);

    User login(User user);

    House findhouse(@Param("id") Integer id);

    void delid(@Param("id") String valueOf);

    int updhouse(House house);

}
